package com.endbd.systemmanagement.dao.user;

import com.endbd.feignapi.model.system.User;
import com.endbd.systemmanagement.model.UserCondition;
import com.endbd.systemmanagement.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDao {

  List<UserInfo> queryUsersByPage(UserCondition userCondition);

  int createUser(User user);

  int updateUser(User user);

  int queryUId(Integer uId);
}
